﻿@inherits LayoutComponentBase
@using Volo.Abp.Ui.Branding
@inject IBrandingProvider BrandingProvider
<nav class="navbar navbar-expand-md navbar-dark bg-dark shadow-sm flex-column flex-md-row mb-4" id="main-navbar" style="min-height: 4rem;">
    <div class="container">
        <a class="navbar-brand" href="/">@BrandingProvider.AppName</a>
        <button class="navbar-toggler" type="button" data-toggle="collapse"
                data-target="#main-navbar-collapse" aria-controls="main-navbar-collapse"
                aria-expanded="false" aria-label="Toggle navigation">
            <span class="navbar-toggler-icon"></span>
        </button>
        <div class="collapse navbar-collapse" id="main-navbar-collapse">
            <ul class="navbar-nav mx-auto">
                <NavMenu/>
            </ul>
            <ul class="navbar-nav">
                <li class="nav-item">
                    <LanguageSwitch/>
                </li>
                <li class="nav-item">
                    <LoginDisplay/>
                </li>
            </ul>
        </div>
    </div>
</nav>
<div class="container">
    @Body
</div>
